/**  
 * Copyright © 2014公司名字. All rights reserved.
 *
 * @Title: SessionInterceptor.java
 * @Prject: web
 * @Package: yang.interceptor
 * @Description: TODO
 * @author: Administrator  
 * @date: 2014年6月29日 下午1:42:18
 * @version: V1.0  
 */
package yang.interceptor;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.MethodFilterInterceptor;

/**
 * @ClassName: SessionInterceptor
 * @Description: 拦截器，验证回话是否存在
 * @author: Administrator
 * @date: 2014年6月29日 下午1:42:18
 */
public class SessionInterceptor extends MethodFilterInterceptor{

	/**
	 * @Title: doIntercept
	 * @Description: TODO
	 * @param arg0
	 * @return
	 * @throws Exception
	 * @see com.opensymphony.xwork2.interceptor.MethodFilterInterceptor#doIntercept(com.opensymphony.xwork2.ActionInvocation)
	 */
	@Override
	protected String doIntercept(ActionInvocation invocation) throws Exception {
		System.out.println( invocation.getAction().toString());
		return null;
	}
	
}
